

import { ElButton } from "element-plus";
import { defineComponent } from "vue";
import { useRouter } from "vue-router";

export default defineComponent({
  name: "500",
  setup() {
    const router = useRouter();
    return () => {
      return (
        <div class="not-container">
          <img src="/assets/images/500.png" class="not-img" alt="500" />
          <div class="not-detail">
            <h2>500</h2>
            <h4>抱歉，您的网络不见了~</h4>
            <ElButton type="primary" onClick={() => router.back()}> 返回上一页 </ElButton>
          </div>
        </div>
      )
    }
  },

})
